package com.lkd.service;

import com.lkd.entity.Goods;
import com.lkd.entity.Users;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@FeignClient(value = "microservice-provider-goods")
public interface IGoodsClientService {
//    @RequestMapping("/goods/list")
//    public List<Goods> queryAll();

    @RequestMapping(value = "/goods/goodsList",method = RequestMethod.GET)
    public  Goods goodsList(@RequestParam(value = "goodsId") Long goodsId);

//    @RequestMapping(value = "/users/login",method = RequestMethod.POST)
//    public ResponseResult login(@RequestBody Users arg);
}
